<!DOCTYPE html> 
<html> 
    <head > 
    <title>Statistics</title> 
    <link rel="stylesheet" href="/static/jquery.mobile-1.0a2/jquery.mobile-1.0a2.min.css" />
    <script src="/static/jquery.min.js"></script>
    <script src="/static/jquery.mobile-1.0a2/jquery.mobile-1.0a2.min.js"></script>
  
</head> 
<body>
<div data-role="page" > 
    <div data-role="header">
<a rel="external" href="/courses/mycourse/{{course.id}}">back</a>
       <h2>Statistics</h2>
 <a href='/accounts/logout/' rel="external" > logout</a>
    </div> 
        <div data-role="content">
{% if p %}
<h2 >Previous Lectures Statistics</h2>
 <ul  data-role="listview"  data-inset="true" >{% for lecture in p %}
<li><a rel="external"  href='/quiz/lecture/getpquizzes/{{lecture.id}}' >{{ lecture.title}} Statistics</a></li>
{% endfor %}</ul>
{% else %}
<h2>
No previous lectures.</h2>
{% endif %}
  </div></div>
</body>
</html>

        